<?php
include("includes/config.php");

if(file_exists("pages/". $category .".php")){
    include("pages/". $category .".php");
}else{
    include("pages/home.php");
}

include("includes/footer.php");
?>